(define-module (emacs predd)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix build-system emacs)
  #:use-module (guix packages)
  #:use-module (gnu packages emacs)
  #:use-module (gnu packages emacs-xyz)
  #:use-module (guix git-download))

(define-public emacs-predd
  (let ((commit "695517712f0972cdb69b2765d13b45441ec4be57")
        (revision "1"))
    (package
      (name "emacs-predd")
      (version (git-version "1.0.0" revision commit))
      (source
       (origin
	 (method git-fetch)
	 (uri (git-reference
	       (url "https://github.com/skeeto/predd.git")
               (commit commit)))
	 (sha256
          (base32
           "03cyh2v9x0gj1nljz7spxbx6v0dcp0hkrh7g5z0rghfahv6iya46"))))
      (build-system emacs-build-system)
      (arguments
       `(#:tests? #t
         #:test-command '("make" "test")))
      (home-page
       "https://github.com/skeeto/predd")
      (synopsis "Multimethods for Emacs Lisp")
      (description
       "This library provides Clojure-style multimethods for Emacs
Lisp, supporting multiple dispatch over an ad hoc type hierarchy.")
      (license license:unlicense))))


